package com.yl.auth.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author L
 * @since 2023-07-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Shenpiliu implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

    private String toxiang;

    private String name;

    private String phone;

    private Long yuangongId;

    /**
     *部门
     */
    @TableField(exist = false)
    @ApiModelProperty("部门")
    private String bname;
    /**
     *角色
     */
    @TableField(exist = false)
    @ApiModelProperty("角色")
    private String jname;
}
